/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 * NuGat-API named Chameleon developed by Simon De Baets to Verimag.
 *
 */
package chameleon.model.NuGatStructure.fsm;

import chameleon.gameSolver.NuGat.NuGatInterface;
import chameleon.model.NuGatStructure.utils.NodeList;
import chameleon.model.NuGatStructure.NuGatStructure;
import com.sun.jna.Pointer;

/**
 * This class is a wrapper to the C struct GameSexpFsm.c .
 *
 * @author simon
 */
public class GameSexpFsm extends NuGatStructure {
    
    public GameSexpFsm(Pointer gameSexpFsm, NuGatInterface nugat){
        super (gameSexpFsm,nugat);
    }
    
    /**
     * Return the variables to Player 1.
     * @return NodeList
     */
    
    public NodeList getVarsList1(){
        return new NodeList(nugat_.GameSexpFsm_get_vars_list_1(this.ptr()), nugat_);
    }
    
    /**
     * Return variables to Player 2
     * @return NodeList
     */
    public NodeList getVarsList2(){
        return new NodeList(nugat_.GameSexpFsm_get_vars_list_2(this.ptr()), nugat_);
    }
    
    /**
     * Return player 1.
     * @return SexpFsm
     */
    public SexpFsm getPlayer1 (){
        return new SexpFsm(nugat_.GameSexpFsm_get_player_1(this.ptr()), nugat_);
    }
    /**
     * Return Player 2
     * @return SexpFsm
     */
    
    public SexpFsm getPlayer2 (){
        return new SexpFsm(nugat_.GameSexpFsm_get_player_2(this.ptr()), nugat_);
    }
    
}
